
// init API Manager
(function () {
    ServiceManager.init("http://4testing.teamlab.com/api/1.0/");
    ServiceFactory.init({
        responses: {},
        portaldatetime: {
            utcoffsettotalminutes: 270,
            displayname: "(UTC+03:30) Tehran"
        },
        names: {
            months: "January,February,March,April,May,June,July,August,September,October,November,December,",
            shortmonths: "Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec,",
            days: "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday",
            shortdays: "Sun,Mon,Tue,Wed,Thu,Fri,Sat"
        },
        formats: {
          datetime: "dddd, MMMM dd, yyyy h:mm:ss tt",
          time: "h:mm tt",
          date: "M/d/yyyy"
        },
        avatars: {
          small: "https://d2nlctn12v279m.cloudfront.net/studio/tag/5.7.6/skins/default/images/default_user_photo_size_32-32.gif",
          medium: "https://d2nlctn12v279m.cloudfront.net/studio/tag/5.7.6/skins/default/images/default_user_photo_size_48-48.gif",
          large: "https://d2nlctn12v279m.cloudfront.net/studio/tag/5.7.6/skins/default/images/default_user_photo_size_82-82.gif"
        },
        supportedfiles: {
          imgs: ".bmp|.gif|.jpeg|.jpg|.png|.ico",
          docs: ".docx|.doc|.odt|.xlsx|.xls|.ods|.csv|.pptx|.ppt|.odp|.rtf|.txt|.pdf|.svg|.mht|.ppsx|.pps|.djvu|.fb2|.epub|.xps"
        }
    });
    Teamlab.init();
})();
